Cadence
Contract Addresses
Addresses for the deployed smart contracts imported in the examples below.
Network | UFC_NFT | NonFungibleToken | MetadataViews |
---|---|---|---|
Testnet | 0x04625c28593d9408 | 0x631e88ae7f1d7c20 | 0x631e88ae7f1d7c20 |
Mainnet | 0x329feb3ab062d289 | 0x1d7e57aa55817448 | 0x1d7e57aa55817448 |
note
The contract for UFC_NFT on Testnet is named ufcInt_NFT
.
Scripts
A script is a very simple transaction type in Cadence that can only read the state of an account or contract. It is useful for querying the metadata about an NFT, a collection or a set. The following guide provide example scripts for interacting with the blockchain for UFC Strike data. Contracts and transactions for UFC Strike can be found on GitHub.
Examples
🗃️ Events
9 items
🗃️ MetadataViews
7 items
🗃️ Moment NFT
4 items
🗃️ Series
2 items
🗃️ Sets
2 items
🗃️ User
1 items